package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.UserDto;
import com.zzyl.vo.UserVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {
    //用户分页
    PageResponse<UserVo> userpage(UserDto userDto, Integer pageNum, Integer pageSize);
    //用户添加
    UserVo add(UserDto userDto);
    //用户修改
    Boolean update(UserDto userDto);
    //启用或禁用用户
    void start(Long id, String status);
    //用户列表
    List<UserVo> list(UserDto userDto);
    //删除用户
    int delete(String userId);

    void resetPwd(String userId);
}
